package com.pm.project.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.pm.common.core.domain.model.POJOEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class ProjectListNode extends POJOEntity implements Serializable {


    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 项目ID
     */
    private Long projectListId;

    /**
     * 节点ID
     */
    private Long projectTempleteDefineId;

    /**
     * 节点步骤顺序
     */
    private BigDecimal stepNum;


    /**
     * 开始时间
     */
    private String startTime;

    /**
     * 结束时间
     */
    private String endTime;

    /**
     * 预算
     */
    private BigDecimal budget;

    /**
     * 父节点ID
     */
    @TableField(exist = false)
    private Long parentId;

    /**
     * 节点名称
     */
    @TableField(exist = false)
    private String nodeName;




}
